<div class="menu">
	<div align="right" style="font-weight:bold; font-size:12px; padding-bottom:8px; color:#0858A2;">
		<?php echo $this->Access->getMyRole($this->Access->getMy('group_id')).": ".$this->Access->getMy('nombre_completo');?>
	</div>
	<?php  $this->Form->cuenta($this->Access->getMy('id'));?>	
	<div class="desplegable">
		<?php  $this->Form->menu($this->Access->getMy('id'),$this->Access->getMy('group_id'));?>
	</div>
</div>
<div class="logisticas index">
	<fieldset>
	<legend><?php __('Logisticas');?></legend>
		<table cellpadding="0" cellspacing="0" class="tabla_formulario">
			<tr>
				<th><?php echo $this->Paginator->sort('tallere_id');?></th>
				<th><?php echo $this->Paginator->sort('lugar');?></th>
				<th><?php echo $this->Paginator->sort('recursos_tecnicos');?></th>
				<th><?php echo $this->Paginator->sort('recursos_logisticos');?></th>
				<th><?php echo $this->Paginator->sort('recomendaciones');?></th>
				<th><?php echo $this->Paginator->sort('anexo');?></th>
				<th><?php echo $this->Paginator->sort('fotografia');?></th>
				<th><?php echo $this->Paginator->sort('created');?></th>
				<th><?php echo $this->Paginator->sort('modified');?></th>
				<th class="actions"><?php __('Actions');?></th>
		</tr>
		<?php
		$i = 0;
		foreach ($logisticas as $logistica):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td>
				<?php echo $this->Html->link($logistica['Tallere']['id'], array('controller' => 'talleres', 'action' => 'view', $logistica['Tallere']['id'])); ?>
			</td>
			<td><?php echo $logistica['Logistica']['lugar']; ?>&nbsp;</td>
			<td><?php echo $logistica['Logistica']['recursos_tecnicos']; ?>&nbsp;</td>
			<td><?php echo $logistica['Logistica']['recursos_logisticos']; ?>&nbsp;</td>
			<td><?php echo $logistica['Logistica']['recomendaciones']; ?>&nbsp;</td>
			<td><?php echo $logistica['Logistica']['anexo']; ?>&nbsp;</td>
			<td><?php echo $logistica['Logistica']['fotografia']; ?>&nbsp;</td>
			<td><?php echo $logistica['Logistica']['created']; ?>&nbsp;</td>
			<td><?php echo $logistica['Logistica']['modified']; ?>&nbsp;</td>
			<td class="actions">
				<?php echo $this->Html->link(__('Ver', true), array('action'=> 'view', $logistica['Logistica']['id'])); ?>
				<?php echo $this->Html->link(__('Editar', true), array('action'=> 'edit', $logistica['Logistica']['id'])); ?>
				<?php echo $this->Html->link(__('Eliminar', true), array('action'=> 'delete', $logistica['Logistica']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $logistica['Logistica']['id'])); ?>
			</td>
			<?php
				echo $this->Form->input('tallere_id',array('type'=>'hidden', 'value'=>$taller));
				echo $this->Form->input('user_id', array('type'=>'hidden', 'value'=>$this->Access->getMy('id')));
	   		?>
		</tr>
	<?php endforeach; ?>
	</table>
	</fieldset>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
	));
	?>	</p>

	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
 |
		<?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div>
</div>
